#include #define TLE_ADDR 0x35 void setup() { Serial.begin(115200); delay(1000); // give time to open serial monitor // IMPORTANT: match your hardware pins (PB0=SCL, PB1=SDA) Wire.swap(0); Wire.begin(); // Configure sensor (same as Neil’s reference) Wire.beginTransmission(TLE_ADDR); Wire.write(0x10); Wire.write(0x28); // config Wire.write(0x15); // mode Wire.endTransmission(); Serial.println("TLE493D ready..."); } void loop() { uint8_t b[6]; // Request 6 bytes from sensor Wire.requestFrom(TLE_ADDR, 6); if (Wire.available() == 6) { for (int i = 0; i < 6; i++) { b[i] = Wire.read(); } // Very basic interpretation (not full precision yet) int x = b[0]; int y = b[1]; int z = b[2]; Serial.print("X: "); Serial.print(x); Serial.print(" Y: "); Serial.print(y); Serial.print(" Z: "); Serial.println(z); } else { Serial.println("Sensor not responding"); } delay(200); }